Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add cgr.dev into known www_authenticate schemes #238

Closed
wants to merge 8 commits into from

Conversation

tstromberg
Copy link
Contributor

This is necessary on top of #237 for pulling authenticated images from cgr.dev (Chainguard Images). Without this patch, the following error occurs:

Error in fail: Failed to fetch https://cgr.dev/v2/chainguard/static/manifests/latest curl: (22) The requested URL returned error: 401

@thesayyn thesayyn changed the title Add auth support for pulling images from cgr.dev fix: add cgr.dev into known www_authenticate schemes May 12, 2023
@thesayyn
Copy link
Collaborator

@tstromberg can you also add an oci_pull target fetching from cgr.dev to fetch.bzl and oci/tests/BUILD.bazel so that we ensure it works?

@tstromberg
Copy link
Contributor Author

Sounds good, I'll do that!

@thesayyn
Copy link
Collaborator

@tstromberg any luck adding the tests?

@tstromberg
Copy link
Contributor Author

tstromberg commented May 18, 2023

I've added the tests, but I'm going to re-propose this PR from a clean fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants